//////////////////////////////////////////
//
//	FlexInc. 2011
//	http://www.loziosecchi.it/flex_inc
//	http://twitter.com/loziosecchi
//
//////////////////////////////////////////

package flexInc.spark.components.supportClasses
{
	import spark.components.supportClasses.SkinnableComponent;
	
	//--------------------------------------
	//  SkinStates
	//--------------------------------------
	
	/**
	 *  The normal state of the Separator control.
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 10
	 *  @playerversion AIR 2.6
	 *  @productversion Flex 4.5
	 */
	[SkinState("normal")]
	
	/**
	 *  The disabled state of the Separator control.
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 10
	 *  @playerversion AIR 2.6
	 *  @productversion Flex 4.5
	 */
	[SkinState("disabled")]

	/**
	 * The base class for all separator components
	 */
	public class SeparatorBase extends SkinnableComponent
	{
		public function SeparatorBase()
		{
			super();
		}

		//--------------------------------------------------------------------------
		//
		//  Overridden methods
		//
		//--------------------------------------------------------------------------
		
		/**
		 *  @private
		 */
		override protected function getCurrentSkinState():String
		{
			if (!enabled)
				return "disabled";
			else
				return "normal";
		}
	}
}